<!DOCTYPE html>
<html lang="en">
<!-- head头部分开始 -->
<head>
    <include file="Public/public_head" title="开源项目-" keywords="{$Think.config.WEB_KEYWORDS}" description="{$Think.config.WEB_DESCRIPTION}" />
    <link rel="stylesheet" href=" __PUBLIC__/static/whoCare/css/resource.css" />
</head>
<!-- head头部分结束 -->
<body>
<!-- 顶部导航开始 -->
<nav class="fl-nav layui-header">
    <div class="fl-container">
        <if condition="$userInfo eq null ">
            <a href="javascript:;" class="fl-user userLoginBtn">
                <i class="fa fa-qq"></i>
            </a>
            <else />
            <a href="javascript:;" class="fl-user" style="right:40px;color: white;font-size: 16px;">
                {$userInfo['user_name']}
            </a>
            <a href="{:U('Home/Index/logout')}" style="position: absolute;right:-60px;z-index: 10;line-height: 64px;color: white;font-size: 16px;">
                退出登录
            </a>
        </if>
        <a href="/" class="fl-log">WhoCare</a>
        <ul class="layui-nav" lay-filter="">
            <li class="layui-nav-item ">
                <a href="{:U('Home/Index/index')}">
                    <i class="fa fa-home fa-fw"></i>网站首页
                </a>
            </li>
            <li class="layui-nav-item ">
                <a href="{:U('Home/Index/ari')}">
                    <i class="fa fa-file-text fa-fw"></i>文章专栏
                </a>
            </li>
            <li class="layui-nav-item layui-this">
                <a href="{:U('Home/Index/git')}">
                    <i class="fa fa-tags fa-fw"></i>资源分享
                </a>
            </li>
            <li class="layui-nav-item">
                <a href="{:U('Home/Index/chat')}">
                    <i class="fa fa-hourglass-half fa-fw"></i>点点滴滴
                </a>
            </li>
            <li class="layui-nav-item ">
                <a href="{:U('Home/Index/about')}">
                    <i class="fa fa-info fa-fw"></i>关于本站
                </a>
            </li>
        </ul>
        <a class="fl-navicon" href="javascript:;">
            <i class="fa fa-navicon"></i>
        </a>
    </div>
</nav>
<!-- 内容开始 -->
<div class="fl-body">
    <div class="fl-container">
        <div class="fl-main">
            <blockquote class="layui-elem-quote sitemap layui-breadcrumb shadow">
                <a href="{:U('Home/Index/index')}">网站首页</a>
                <a><cite>资源分享</cite></a>
            </blockquote>
            <div class="child-nav shadow">
                <span class="child-nav-btn">
                    <a href="{:U('Home/Index/git')}">全部</a>
                </span>
                <foreach name="data" key="k" item="v">
                    <span class="child-nav-btn">
                        <a href="{:U('Home/Index/git',array('kind_id'=>$v['kind_id']))}">
                            {$v.kind_name}
                        </a>
                    </span>
                </foreach>
            </div>
            <div class="resource-main">
                <foreach name="data2" key="k" item="v">
                <div class="resource shadow">
                    <div class="resource-cover">
                        <a target="_blank" href="{$v.ziyuan_show}" class="">
                            <!--<img src="" alt="时光轴" />-->
                            {$v.ziyuan_con}
                        </a>
                    </div>
                    <h1 class="resource-title">
                        <a href="{$v.ziyuan_show}" target="_blank">{$v.ziyuan_title}</a>
                    </h1>
                    <!--<p class="resource-abstract">本博客使用的时光轴的源码，手工打造！</p>-->
                    <div class="resource-info">
                                <span class="category">

                                        <i class="fa fa-tags fa-fw"></i> {$v['kind_name']}
                                </span>
                        <span class="author">
                                    <i class="fa fa-user fa-fw"></i>{$v['ziyuan_user']}
                                </span>
                        <div class="clear"></div>
                    </div>
                    <div class="resource-footer">
                        <a class="layui-btn layui-btn-sm layui-btn-primary show1" href="{$v.ziyuan_show}" target="_blank">
                            <i class="fa fa-eye fa-fw"></i>演示
                        </a>
                        <a class="layui-btn layui-btn-sm layui-btn-primary dow" href="{$v.ziyuan_dow}" target="_blank">
                            <i class="fa fa-download fa-fw"></i>下载
                        </a>
                    </div>
                </div>
                </foreach>
                <div class="clear"></div>

            </div>
        </div>
    </div>
</div>
<!-- 底部 -->
<footer class="fl-footer">
    <p>
        <span>Copyright</span>
        <span>©</span>
        <span>2017</span>
        <a href="">WhoCare个人博客</a>
        <span>Design By WhoCare</span>
    </p>
    <p>
        <a href="" target="_blank">豫ICP备xxxxxxxx号-1</a>
    </p>
</footer>
<!-- 左侧导航 -->
<ul class="layui-nav layui-nav-tree layui-nav-side fl-nav-left layui-hide" lay-filter="nav">
    <li class="layui-nav-item layui-this">
        <a href="/"><i class="fa fa-home fa-fw"></i>&nbsp;网站首页</a>
    </li>
    <li class="layui-nav-item">
        <a href="{:U('Home/Index/ari')}"><i class="fa fa-file-text fa-fw"></i>&nbsp;文章专栏</a>
    </li>
    <li class="layui-nav-item">
        <a href="{:U('Home/Index/git')}"><i class="fa fa-tags fa-fw"></i>&nbsp;资源分享</a>
    </li>
    <li class="layui-nav-item">
        <a href="{:U('Home/Index/chat')}"><i class="fa fa-road fa-fw"></i>&nbsp;点点滴滴</a>
    </li>
    <li class="layui-nav-item">
        <a href="{:U('Home/Index/about')}"><i class="fa fa-info fa-fw"></i>&nbsp;关于本站</a>
    </li>
</ul>
<!-- 分享窗体 -->
<div class="fl-share layui-hide ">
    <div class="fl-share-body">
        <div>
            <div class="flsharebuttonshare">
                <a class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
                <a class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
                <a class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
                <a class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a>
            </div>
        </div>
    </div>
</div>
<!-- 遮罩 -->
<div class="fl-mask animated layui-hide"></div>
<script src="__PUBLIC__/static/js/jquery-2.0.0.min.js"></script>
<script src="__PUBLIC__/static/whoCare/layui/layui.js"></script>
<script src="__PUBLIC__/static/whoCare/js/index.js"></script>
<script>
    $(".show1").click(function () {
        var href=$(this).attr("href");
        window.open(href);
        return false;
    });
    $(".dow").click(function () {
        var href=$(this).attr("href");
        window.open(href);
        return false;
    });

</script>

<include file="Public/public_login" />
</body>
</html>